package s_jdbc;

import org.springframework.jdbc.core.JdbcTemplate;

public class UserDao {
	private JdbcTemplate jdbcTemplate;
	public void setJdbcTemplate(JdbcTemplate jdbcTemplate) {
		this.jdbcTemplate = jdbcTemplate;
	}
  public void save() {
	  String sql = "insert into sdts_copy(sid,sname)  values(3,'嘻嘻')";
	  jdbcTemplate.update(sql);
   }


	
}
